package com.tamtamy.jtta.utility;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DataUtility {

	public static String dateToString(Date aDate){
		if (aDate!=null){
			SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
			return dateFormat.format(aDate);
		}
		else{
			return null;
		}
	}
}
